package com.zysoft.function;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

/**
 * **************************************************************
 *
 * @ProjectName: 4g
 * @Package: com.zysoft.function
 * @ClassName: ExampleActivity
 * @Description: Activity 生命周期示例
 * @Author: wmf
 * @CreateDate: 2019/10/29 9:47
 * @UpdateDate: 2019/10/29 9:47
 * **************************************************************
 */
public class ExampleActivity extends Activity {

    private static final String TAG = "The_life_cycle";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Log.e(TAG,"onCreate");
    }

    @Override
    protected void onRestart() {
        super.onRestart();
        Log.e(TAG,"onRestart");
    }

    @Override
    protected void onStart() {
        super.onStart();
        Log.e(TAG,"onStart");
    }

    @Override
    protected void onResume() {
        super.onResume();
        Log.e(TAG,"onResume");
    }

    @Override
    protected void onPause() {
        super.onPause();
        Log.e(TAG,"onPause");
    }

    @Override
    protected void onStop() {
        super.onStop();
        Log.e(TAG,"onStop");
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.e(TAG,"onDestroy");
    }

}
